Oracle EBS R12 (12.1.3) Installation Linux(64 bit)

Oracle EBS R12 (12.1.3) Installation Linux(64 bit)

Contents

Objective. 3

1 Download & Unzip. 3

Download. 3

Unzip. 3

MD5 Checksums. 4

2 Pre-Install Task. 5

Disk Space. 5

Specific Software Requirements. 5

RPM... 6

JDK. 8

OS User & Group. 11

3 Installation process. 12

Export Display. 12

./rapidwiz. 12

Add Env parameter to .bash_profile file. 26

Set Start and Stop shell for APP and DB. 27

Default DB & Apps password. 27

R12 Directory Structure. 28

4 After Installation process. 29

Register for ZHS license. 29

Patch( also for some application and database bugs). 30

5 After Installation process(Chinese Version). 32

安装和升级前... 32

安装和升级时... 33

安装和升级后... 33

6 Upgrade to 12.1.3. 36

Download patch 9239090. 36

Documents. 36

Installation process. 37

7 After Upgrade. 39

Autoconfig. 39

Preclone. 40

8 Issues & Solutions. 40

 

 

Objective

Step by Step instructions to install Oracle Applications R12(12.1.1) on Oracle Enterprise Linux 5 are described in this article. This is a single node installation, meaning that the database, all product directories and AD core directories, and all servers (concurrent processing, forms, and Web) are installed on a single node under one common APPL_TOP.

The database node and the Applications node can be installed on the same machine. This type of installation is generally used for small systems or for demonstration purposes. More commonly, the database node is installed on one machine, and the Applications node on another machine. This provides improved manageability, scalability, and performance.

This document will take Linux 64 bit platform as example. And my hardware configuration is

Item

Configuration

CPU

2 *   Intel(R) Xeon(R) X5670 2.93GHz

RAM

6 G

Disk   Space

/u01  300 GB

/u02    200 GB

/           100 GB

 

1 Download & Unzip

Download

Official Download Link https://edelivery.oracle.com/

For Oracle Internal User, you can also download from link:https://sac.us.oracle.com/download/index.html

(NOTE: Choose proper platform and 32 bit/64 bit download files)

Download Tips:

Use the following command for Batch download, firstly collect all URLs required and put it in a text file, say download.txt, one URL on a line

wget -i download.txt

(-i means Read URLs from file.)

Unzip

Create stage area - for downloaded installation pack, just unzip all zip files under stage area directory StageR12, eg.

unzip B53824-01_1of4.zip -d /u02/ StageR12

unzip B53824-01_2of4.zip -d /u02/ StageR12

… …

After unzip, File Path in StageR12 like following,

                       

 

                                                 Also create a directory to store patch files, then as follows showing:

                                             

MD5 Checksums

Strongly suggest you perform MD5 check against the stage area.

The md5 checksums for the staged directory structure can be used to validate the software integrity. Do this by running the md5sum program against the stage area using the oracle created checksum file. Note for can observe you have any problem with your stage or not(Corrupted zip etc)

MD5 Checksums for R12.1.1 Rapid Install Media (Doc ID 802195.1)

2 Pre-Install Task

Disk Space

File System Space Requirements for Standard Installation

Node

Space Required

Applications   node file system (includes OracleAS 10.1.2 Oracle Home, OracleAS 10.1.3   Oracle Home, COMMON_TOP, APPL_TOP,and INST_TOP)

35 GB   (50 GB on HP-UX Itanium)

Database   node file system (Fresh install)

55 GB

Database   node file system (Vision Demo Database)

208   GB (210 GB on HP-UX Itanium)

Stage   area(unzipped files)

47 GB

The total space required for a standard system (not including the stage area) is 85 GB for a fresh install with a production database, and 233 GB for a fresh install with a Vision Demo database.

You can use below Unix command to check disk space

df –h

Specific Software Requirements

The following maintenance tools must be installed on machine, and their locations specified both in the PATH of the account that runs Rapid Install and in the PATH of the accounts that will own the database tier and application tier file systems.

Operating System

Required Maintenance Tools

Linux   x86

ar,   gcc, g++, ld, ksh, make, X Display Server

Linux   x86-64

ar,   gcc, g++, ld, ksh, make, X Display Server

HP-UX   Itanium

ar,   cc, aCC, make, X Display Server

HP-UX   PA-RISC

ar, cc, aCC, make, X Display Server

IBM   AIX on Power Systems (64-bit)

ar,   cc, aCC, make, X Display Server

Microsoft   Windows Server (32-bit)

ar, cc, ld, linkxlC, make, X Display Server

Sun   Solaris SPARC (64-bit)

ar,   ld, make, X Display Server

RPM

Per Note: 761566.1

First, you should check your Linux Kernel, to determine your linux version, enter:

uname –r

 

 

So my Linux is Linux 6, For Linux 6, Required Packages is

GA (6.0) or higher of Oracle Linux 6 is required

The following packages (or versions of packages) are not part of the OS distribution media and must be downloaded separately (from http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/) for Oracle Linux 6 and installed manually:

 

    openmotif21-2.1.30-11.EL6.i686 (32-bit)1

    xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386 (32-bit)

 

The following packages must be installed from the Oracle Linux 6 distribution media:

 

    binutils-2.20.51.0.2-5.11

    gcc-4.4.4-13.el16.x86_64

    gcc-c++-4.4.4-13.el16.x86_64

    glibc-2.12-1.7.el6.i686 (32-bit)

    glibc-2.12-1.7.el6.x86_64

    glibc-common-2.12-1.7.el6.x86_64

    glibc-devel-2.12-1.7.el6.i686 (32-bit)

    glibc-devel-2.12-1.7.el6.x86_64

    libgcc-4.4.4-13.el6.i686

    libgcc-4.4.4-13.el6.x86_64

    libstdc++-devel-4.4.4-13.el6.i686

    libstdc++-devel-4.4.4-13.el6.x86_64

    libstdc++-4.4.4-13.el6.i686

    libstdc++-4.4.4-13.el6.x86_64

    make-3.81-19.el6.x86_64

    gdbm-1.8.0-36.el6.i686

    gdbm-1.8.0-36.el6.x86_64

    libXp-1.0.0-15.1.el6.i686

    libXp-1.0.0-15.1.el6.x86_64

    libaio-0.3.107-10.el6.i686

    libaio-0.3.107-10.el6.x86_64

    libgomp-4.4.4-13.el6.x86_64

    sysstat-9.0.4-11.el6.x86_64

    util-linux-ng-2.17.2-6.el6.x86_64

    unzip-5.52-3.0.1.el5.x86_642

    compat-libstdc++-296-2.96-144.el6.i686

    compat-libstdc++33-3.2.3-69.el6.i686

 

Additionally, the following RPMs are required for the database tier running 11gR2 (users must upgrade the bundled 11gR1 DB to 11gR2 either before or after installing 12.1) on the database tier:

 

    compat-libstdc++-33-3.2.3-69.el6.x86_64

    elfutils-libelf-devel-0.148.1-el6.x86_64

    kernel-uek-headers-2.6.32-100.28.5.el6.x86_64

    libaio-devel-0.3.107-10.el6.x86_64

    unixODBC-2.2.14-11.el6.i686

    unixODBC-devel-2.2.14-11.el6.i686

    unixODBC-2.2.14-11.el6.x86_64

    unixODBC-devel-2.2.14-11.el6.x86_64

    xorg-x11-utils-7.4-8

 

Note:

 

    1: The openmotif package version must be 2.1.30 (for example, openmotif-2.3.3-1 is not supported).

2: This unzip package (available from EL 5 distribution) is only required for purposes of running Rapid Install to unzip the required EBS files as part of the installation.

 

Be sure you have above rmp on your system, you can use below command to check whether RPM packages are installed or not

rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" | grep gcc

q = query

a = all

 

What’s the RPM:The Red Hat Package Manager (RPM) is a toolset   used to build and manage software packages on UNIX systems. Distributed with   the Red Hat Linux distribution and its derivatives (CentOS is 100% compatible   rebuild of the Rehat Enterprise Linux).

The   RPM files represent application or package that you can install on Linux   system.

JDK

JDK 6 is bundled with Oracle E-Business Suite version 12.1.1. You do NOT need to install the JDK separately.

/etc/hosts

For Oracle Linux 4, 5 and 6, and Red Hat Enterprise Linux 4 and 5:

Verify that the /etc/hosts file is formatted as follows:

127.0.0.1 localhost.localdomain localhost

[ip_address] [node_name].[domain_name] [node_name]

 

/etc/sysconfig/network

Verify that the /etc/sysconfig/network file is formatted as follows:

HOSTNAME=[node_name].[domain_name]

 

/etc/sysconfig/networking/profiles/default/network

If the /etc/sysconfig/networking/profiles/default/network file exists, remove it.

If you changed any files in the previous steps, restart the system.

/etc/sysctl.conf

Edit the /etc/sysctl.conf file to configure your kernel settings. After editing the file, use the "sysctl -p" command or restart the system to invoke the new settings.

Note: If the current value for any parameter is higher than the value listed in the following table, then do not change the value of that parameter.

The following table lists the kernel settings for Oracle Linux 4, 5 and 6, Red Hat Enterprise Linux AS/ES 4 and 5, and SUSE Linux Enterprise Server 9 and 10:

 

1: set using the following entry in the /etc/sysctl.conf file: kernel.sem = 256 32000 100 142

2: On the server running the EBS Database, this kernel parameter must be the lesser of half the size of the physical memory (in bytes) and 4294967295

3: values recommended for the local port range may need to be adjusted according to the specific needs of the user's environment in order to avoid port conflicts.

/etc/security/limits.conf

Open the /etc/security/limits.conf file and change the existing values for "hard" and "soft" parameters as follows. Restart the system after making changes.

Note: If the current value for any parameter is higher than the value listed in this document, then do not change the value of that parameter.

 

  * hard nofile 65535

  * soft nofile 4096

  * hard nproc 16384

  * soft nproc 2047

/etc/resolv.conf

Add or update the following entries to these minimum settings in the/etc/resolv.conf file on each server node:

options attempts:5

options timeout:15

OS Library Patch for Oracle HTTP Server(on Oracle Linux 5, RHEL 5 and Oracle Linux 6 only)

Download and apply the patch 6078836 from My Oracle Support to fix an issue with the Oracle HTTP Server (missing libdb.so.2) bundled with the E-Business Suite technology stack.

Note that this patch (which includes a required operating system library) must be applied before installing Oracle E-Business Suite.

Without this patch, after installation, HTTP Server cannot start.

Link to Motif library in Oracle Application Server 10.1.2 (on Oracle Linux 5 and RHEL 5 only)

Perform the following command (as root on your system) to update a required link to a Motif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:

# unlink /usr/lib/libXtst.so.6

# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

OS User & Group

Generally for PROD instance, we need create two OS user for installation, one user is used to manage DB, the other is used to manage Apps.

Since our instance is a TEST instance, so for simple, we just create one user to manage DB and Apps, Here we use ‘oracle’ as user, use ‘oinstall’  as group.

# groupadd oinstall -g 2000

# useradd -g oinstall -u 2000 oracle

# chown -R oracle:oinstall /u01/oracle

 

 

chown changes the user and/or group ownership of each given   file.

-R,   operate on files and directories recursively

 

3 Installation process

Export Display

To ensure we have a graphical installation process, we can export server to our local linux which have X window system. If your server have installed X window, then you can ignore this step.

 

(ptian) ptian- env | grep ALTDISPLAY

ALTDISPLAY=rws60004sgd.us.oracle.com:50

(First, in our local linux, Check our local linux’s host and port)

(ptian) ptian- ssh admin@bej301441.cn.oracle.com

admin@bej301441.cn.oracle.com's password:

Last login: Thu May 31 21:32:49 2012 from 10.182.114.9

(SSH to server which we intend to install EBS)

[admin@bej301441 ~]$ export DISPLAY=rws60004sgd.us.oracle.com:50

 

 

./rapidwiz

If you intend to use standard installation mode, you need login as root user.

 [root@bej301441 rapidwiz]#cd /u02/StageR12/startCD/Disk1/rapidwiz

[root@bej301441 rapidwiz]# ./rapidwiz

Rapid Install Wizard is validating your file system......

4 dvd labels found

Rapid Install Wizard will now launch the Java Interface.....

 

Next

 

 

 

 

Next, then no need to fill the Email, Next again

 

 

 

 

 

 

 

 

Default Oracle EBS   Ports

    

    

Port numbers can be modified during installation or may be   automatically incremented by x during installation where x is a number 1 to   100 (typical less than 10). Port number ranges are often a grouping of 3, 4,   5, or 6 contiguous ports in the specified range.

 

 

 

 

 

 

Another case, for fresh installation, as follows:

 

 

 

 

 

 

 

 

 

Note the languages and character set chosen, as follows:

 

 

 

 

 

Then for Vision Demo or Fresh install, will pop up below to check

 

 

 

Will spend almost 3 hours below

 

 

 

LoginTest: http://<host_name>.<domain_name>:port/OA_HTML/AppsLogin

 



Add Env parameter to .bash_profile file

.bash_profile is a bash shell that is started when login.

For DB user, Modify /.bash_profile, add your DB env file path into it, eg.

. /u01/oracle/mc3yd213/db/tech_st/11.1.0/mc3yd213_bej301441.env

 

For Apps user, Modify /.bash_profile, add your Apps env file path into it, eg.

u01/oracle/mc3yd213/apps/apps_st/appl/APPSmc3yd213_bej301441.env

 

 

 

Set Start and Stop shell for APP and DB

 Create stopAPP.sh and startAPP.sh under APP owner home (like /home/applmgr) to stop and start EBS, as follows:

stopAPP.sh file:

source .app

adstpall.sh apps/apps

 

startAPP .sh file

source .app

adstrtal.sh apps/apps

 

            Aslo change owner to applmgr of stopAPP.sh and startAPP .sh.

 

Create stopDB.sh and stopDB.sh under oracle owner home (like /home/oracle) to stop and start EBS, as follows:

stopDB.sh file:

source .ora

addlnctl.sh stop PROD

 

startDB.sh file

source .ora

addlnctl.sh start PROD

addbctl.sh start

 

            Aslo change owner to oracle of stopDB.sh and startDB .sh.

 

                                       Then we can use these four files to stop/start the DB/APP。

 

Default DB & Apps password

Database:

SYS/change_on_install

SYSTEM/manager

 

Application Schema passwords:

APPS Schema: APPS/APPS

GWYUID User: APPLSYSPUB/PUB

Guest User: GUEST/ORACLE

 

Application Users:

SYSADMIN/SYSADMIN

MFG/WELCOME

OPERATIONS/WELCOME

SERVICES/WELCOME

MRC/WELCOME

HRMS/WELCOME

R12 Directory Structure

 

===For Applmgr User===

$APPL_TOP

R12:<APPS_BASE>/apps/apps_st/appl

NOTE: Oracle Applicaitons product files, including $INV_TOP, $AU_TOP....

 

$COMMON_TOP

R12:<APPS_BASE>/apps/apps_st/comn(Common files such as Java&HTML)

NOTE: $JAVA_TOP is under $COMMON_TOP

 

$ORACLE_HOME

R12:<APPS_BASE>/apps/tech_st/10.1.2

 

===For Oracle User===

$ORACLE_HOME

R12:<ORACLE_BASE>/db/tech_st/10.2.0

NOTE:Oracle Home for 10g RDBMS

 

ORADATA

R12:<ORACLE_BASE>/db/apps_st/data

NOTE:Oracle 10g database files

 

===INSTANCE HOME===

INST_TOP

R12:<APPS_BASE>/inst/apps/<context_name>

NOTE:Configuration,logs,Certificates.

 

 

4 After Installation process

Register for ZHS license

 

Open EBS: http://oracle.handchina.com:8000

LOGIN AS:sysadmin/sysadmin

Then open System Administrator/Oracle Applications Manager/License Manager/

Select license as below:   

Then select Simplified Chinese

 

 

 

 

And base language “American English”

 

 

 

 

Patch( also for some application and database bugs)

 

Stop application first

[root@oracle ~]# su - applmgr

[applmgr@oracle ~]$./stopAPP.sh

 

Maintainmulti-lingual tables

Adadmin for Maintain multi-lingual tables

[applmgr@oracle ~]adadmin

Select 4. Maintain Applications Database Entities menu

Select 3. Maintain multi-lingual tables

Then exit adadmin

 

Enable maintenance mode

 [applmgr@oracle ~]adadmin

Select 5. Change Maintenance Mode

Select 1. Enable Maintenance Mode

Then exit adadmin

 

 Apply 8576725

su - pplmgr to unzip p8576725_12.1.0_R12_GENERIC.zip

cd to unzip directory and run adpatch.

 

Apply 6678700_ZHS

su - applmgr to unzip  6181-01.zip(p6678700_R12_zhs.zip?)

cd to unzipped directory and run adpatch.

 

Apply 6746000_ZHS

su - applmgr to unzip p6746000_R12_zhs.zip

cd to unzipped directory and run adpatch.

 

Opatch 12415211

su - applmgr to unzip  p12415211_10105_LINUX.zip

first patch for 10.1.2 Home:

Modify files for /media/_EBS/Stage12/patch/12415211/inventory

Change<platform name="Linux x86-64" id="226"/> to<platform name="Linux x86-64"id="46"/>

Cd /media/_EBS/Stage12/patch/12415211/

$ORACLE_HOME/OPatch/opatch apply

Finished then run below:

$ cd /home/applmgr/PROD/apps/tech_st/10.1.2/lib

$ cp -p -R stubs stubsORIG

$ cd stubs

$ cp /media/_EBS/Stage12/patch/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so .

$ ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1

$ ln -s libgcc_s.so.1 libgcc_s.so

Then run follows:

$ORACLE_HOME/appsutil/clone/adlnktools.sh

Second patch for 10.1.3Home:

Modify files for /media/_EBS/Stage12/patch/12415211/inventory

Change <platform name="Linux x86-64" id="46"/> to<platform name="Linux x86-64" id="226"/>

Go to 10.1.3 Home by running /home/applmgr/PROD/inst/apps/PROD_oracle/ora/10.1.3/PROD_oracle.env

Cd /media/_EBS/Stage12/patch/12415211/

$ORACLE_HOME/OPatch/opatch apply

Finished then run below:

$ cd /home/applmgr/PROD/apps/tech_st/10.1.3/lib

$ cp -p -R stubs stubsORIG

$ cd stubs

$ cp /media/_EBS/Stage12/patch/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so .

$ ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1

$ ln -s libgcc_s.so.1 libgcc_s.so

finally run

/home/applmgr/PROD/apps/tech_st/10.1.3/appsutil/clone/adlnkweboh.sh

 

 

5 After Installation process(Chinese Version)

安装和升级前

如果使用快速安装向导安装或升级12.1.1(无论是新的R12安装或从11i升级到R12),在安装和升级开始前,确保你使用最新的快速安装补丁,这个补丁在 Oracle Applications Release Notes, Release 12.1.1 (My Oracle Support 文档 798258.1) 有描述.

在安装升级Oracle E-Business Suite前,请完成所有的操作系统需求,软件需求和其他需求.

升级Oracle数据库和应用服务器 (适用于Oracle Linux 6, RHEL 6 SLES 11)

对于那些克隆到以上操作系统的用户,必须根据以下文档先升级源系统的12.1.1环境Oracle数据库到11gR2(11.2.0.3或更高)和应用服务器到10gR3 10.1.3.5:

那些在这些操作系统平台上通过快速安装方式安装E-Business Suite的客户,必须升级在安装完EBS12.1以后升级这些技术组件.

OPMN端口号冲突

注意: 缺省的, Application Server 的OPMN服务的端口号是6000.这个可能和Linux服务器的X11的图形控制台的端口有冲突.

 

为了解决这个问题,在安装和升级前请执行以下步骤:

  • 检查端口号6000是否被占用 ("netstat -a | grep 6000")
  • 如果是,你需要在Linux服务器上禁用图形控制台登录程序,使用root帐号,通过以下命令可以完成:
    • o       找到使用端口号6000的程序 "lsof -i TCP:6000".
    • 使用 "kill -9" 命令结束之前步骤中找到的程序
    • 确保不会再有占用端口6000的程序出现("netstat -a | grep 6000")
    • 修改文件 /etc/inittab       "id:5:initdefault:" 到       "id:3:initdefault:"
    • 运行 "/sbin/init 3" 来重启dtlogin

 

安装前取消环境变量设置 (仅适用于 SLES 1011)

在安装前需要取消环境变量的设置(避免10.1.2 Oracle Home安装时注册失败):

$ unset ENV

 

安装和升级时

按照文档执行安装和升级(Oracle E-Business Suite Installation Guide: Using Rapid Install, Oracle E-Business Suite Upgrade Guide: Release 11i to Release 12.1.1 or Oracle E-Business Suite Release 12.1.1 Maintenance Pack instructions) 有关的安装和升级情况.

安装和升级后

安装和升级到12.1.1后,在用户访问系统前,执行以下步骤.

对应用服务器10g10.1.210.1.3)打补丁(仅适用于Oracle Linux 6 RHEL 6)

安装完成后,用户必须通过安装补丁12415211来升级10.1.2和10.1.3的子库.

用户必须按照以下步骤对10.1.2具体说明从补丁中拷贝文件到特定目录下:

$ cd <12.1_INSTALL_DIR>/apps/tech_st/10.1.2/lib

$ cp -p -R stubs stubsORIG

$ cd stubs

$ cp <PATCH_INSTALL_DIR>/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so .

$ ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1

$ ln -s libgcc_s.so.1 libgcc_s.so

当这个完成后,运行APPS.env文件,用户应该通过运行$ORACLE_HOME/appsutil/clone/adlnktools.sh脚本重新连接所有的10.1.2的可执行程序来确保make日志中没有错误.

10.1.3的说明如下:

$ cd <12.1_INSTALL_DIR>/apps/tech_st/10.1.3/lib

$ cp -p -R stubs stubsORIG

$ cd stubs

$ cp <PATCH_INSTALL_DIR>/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so .

$ ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1

$ ln -s libgcc_s.so.1 libgcc_s.so

完成后,用户需要通过重新连接sqlplus运行 <INSTALL_DIR>/apps/tech_st/10.1.3/appsutil/clone/adlnkweboh.sh 脚本来确保make日志中没有错误.

升级Oracle数据库和Oracle应用服务器(仅适用于Oracle Linux 6, RHEL 6SLES 11

用户在Oracle Linux 6使用快速安装E-Business Suite 12.1.1,必须在安装完成后参照以下文档升级Oracle数据库到11gR2(11.2.0.3 或更高版本):

那些克隆一个已经存在的EBS环境到一个新的Oracle Linux 6系统上必须在执行克隆前确保他们原来的E-Business Suite环境已经升级到11gR2 和 10.1.3.5.

应用AS 10g Forms/Reports补丁13579719(仅适用于SLES 11

应用补丁13579719来解决重新链接Oracle Reports的问题.

对于新装生产环境数据库,手工修复数据dbf文件

对于所有版本的开始安装,包含当前12.1.1.13版本,如果安装生产数据库(参照Oracle Applications Release Notes, Release 12.1.1 My Oracle Support 文档798258.1), 你必须运行以下SQL命令来修复某些已损坏的dbf文件:

$ sqlplus/nolog

sql> connect / as sysdba

 

sql> alter database datafile '[full path of system09.dbf]' resize 1000M;

sql> alter database datafile '[full path of system09.dbf]' resize 1500M;

如果通过startCD(12.1.1.13或更高版本)方式快速安装方式,则这个步骤不需要.

重新连接高级供应链计划可执行程序 (仅应用于 SLES 1011 Oracle Linux/RHEL 5.4 或更高版本和Oracle Linux/RHEL 6)

在以上操作系统中安装EBS 版本 12 (12.1.1)中的重新链接的阶段,将会导致重新链接Advanced Supply Chain Planning (ASCP)可执行程序MSO, MSC, MSR 和 FEM失败。为了修复这个问题,用户必须在Liunx部分中的$AD_TOP/bin/adrelinknew.sh替换以下行:

CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'

替换为

CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'

修改完后,用户需要运行adadmin utility 和 relink 可执行应用程序.

附加信息: 应用程序的更新包(RUP)或AD家庭包需要覆盖adrelinknew.sh文件,用户必须重新编辑并修改以上文件用来避免重新连接程序失败.

 

LD_LIBRARY_PATH 环境变量

动态库文件作为重新连接和可执行程序的一部分来使用。LD_LIBRARY_PATH变量用来确定E-Business Suite在运行时所需要的动态库文件,这个变量在快速安装向导执行安装时,快速克隆脚本(adcfgclone)在目标系统上执行配置时所需要.

如果你需要修改这些值,使用OAM 自动配置工具来编辑(以'System Administrator'职责登录,点击'System Administrator',选择'Oracle Applications Manager'下的'AutoConfig',点击'Environments'子标签):

在每个应用层的服务器节点上:

LD_LIBRARY_PATH 可以通过以下三种方式设置:

  • $APPL_TOP/admin/adovars.env
  • $ORA_CONFIG_HOME/10.1.2/[CONTEXT_NAME].env, in the 10.1.2 Oracle home directory
  • $ORA_CONFIG_HOME/10.1.3/[CONTEXT_NAME].env, in the 10.1.3 Oracle home directory

在AutoConfig接口中, 这个和以下匹配:

位置

变量

adovars

LD_LIBRARY_PATH

tools_home   (10.1.2)

LD_LIBRARY_PATH

web_home   (10.1.3)

LD_LIBRARY_PATH

在数据库服务器节点上:

在$ORACLE_HOME/[CONTEXT_NAME].env中设置LD_LIBRARY_PATH这个和以下匹配:

位置

变量

db_home

LD_LIBRARY_PATH

设置后,运行AutoConfig (adautocfg.sh)来使其在应用层和数据库层生效.

附加信息: 在文档Oracle E-Business Suite Maintenance Utilities 查看来了解更多内容.

 多用户安装的网络服务监听

网络服务监听使用/var/tmp.oracle目录存放临时文件。给所有用户在多用户安装写权限,更新/var/tmp/.oracle,赋予777权限:

$ chmod 777 /var/tmp/.oracle

6 Upgrade to 12.1.3

Download patch 9239090

Download 12.1.3 patch:

https://updates.oracle.com/download/9239090.html

 

NOTE: the linux 32-bit and the 64-bit patch are one and the same. 32-bit Linux  patches are applicable for 64-bit Linux OS as well.

Documents

Official Documents

Oracle E-Business Suite Release 12.1.3 Readme (Doc ID 1080973.1)

Database Preparation Guidelines for an Oracle E-Business Suite Release 12.1.1 Upgrade [Doc ID 761570.1]

Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [Document 761564.1]

External references

http://my.opera.com/jafferappsdba/blog/2011/12/17/upgrade-from-ebs-12-1-1-to-12-1-3

http://oracleminds.wordpress.com/2011/12/22/how-did-i-upgrade-our-oracle-ebs-from-r12-1-1-to-12-1-3/

2. Installation packs

* Patch 9239089

* Patch 9239090

* Patch 9239095

* Patch 9817770

* Patch 9966055

Installation process

1.Set Application Environment

source /d01/oracle/VIS/apps/apps_st/appl/APPSVIS_adc6180205.env

 

2. stop all application process.

/d01/oracle/VIS/inst/apps/VIS_adc6180205/admin/scripts/adstpall.sh apps/apps

 

3. set environment to RDBMS oracle_home.

source /d01/oracle/VIS/db/tech_st/11.1.0/VIS_adc6180205.env

 

4.Shutdown Database as following

sqlplus / as sysdba

SQL>shutdown immediate;

 

5.Stop Database Listener

lsnrctl stop VIS

 

6. edit the init parameter file in the database(Using 11gR1 follow doc.761570.1)

/d01/oracle/VIS/db/tech_st/11.1.0/dbs/initVIS.ora

vi initVIS.ora

add (_disable_fast_validate=TRUE).

 

7. set pga and sga size in init parameter file (initVIS.ora file)

pga_aggregate_target=2G

Note:

(If errorlike below:

ORA-04030: out of process memory when trying to allocate 822904 bytes (pga heap, kco buffer)

ORA-07445: exception encountered: core dump [dbgtfdFileWrite()+48]

set the _pga_max_size initialization parameter to a larger value as follows: _pga_max_size=104857600

and restart your database.)

 

8.start Database Listener

lsnrctl start VIS

 

9. restart the database.

sqlplus / as sysdba

sql> startup pfile='/d01/oracle/VIS/db/tech_st/11.1.0/dbs/initVIS.ora'

 

10. Use AutoPatch to apply R12.AD.B.DELTA.3 Patch 9239089

Pre Install Steps as per Patch readmefile & Doc.1077769.1

(i)create a dir on $ORACLE_HOME/appustil/admin

/d01/oracle/VIS/db/tech_st/11.1.0/appsutil/admin

(ii)Copy adgrants.sql from this patch directory to $ORACLE_HOME/appsutil/admin

cp /u01/12.1.3/9239089/admin/adgrants.sql /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/admin/adgrants.sql

(iii) Set the database environment

/d01/oracle/VIS/db/tech_st/11.1.0/VIS_adc6180205.env

(iv)logon to sqlplus and run adgrants.sql with apps schema password as below

sqlplus /nolog

sql> connect as sysdba

sql> @/u01/oracle/ORCL/db/tech_st/11.1.0/appsutil/admin/adgrants.sql apps

 

11. Disable maintanance mode using adadmin utility

 

12. set application environment.

Run Patch 9239089 using adpatch

*u9239089.drv

(Check Log file in /u01/oracle/ORCL/apps/apps_st/appl/admin/ORCL/log/u9239089_12122011.log)

 

13. Compile APPS schema

Run adadmin > Compile/Reload Applications Database Entities menu >Compile APPS schema.

*Choose "No" at the following prompt:Run Invoker Rights processing in incremental mode [No]

 

14.Apply patch 9239090 using adpatch

*u9239090.drv

(When adrelink error chose "Yes" to continue)

 

15. Post Step (There is no any pre or post install steps)

Apply Patches *Patch 9817770

*Patch 9966055

 

16. Apply patch 9239090_ZHS

17. Apply patch 923909598177709966055

16.Remove _disable_fast_validate=TRUE parameter from initVIS.ora file

 

17.Disable Maintanence mode

 

18.Run Autocnfig both database and application tier

 

19. Query patches applied in table

ad_applied_patches

ad_bugs

20. License applications

7 After Upgrade

  Autoconfig

                                          Start DB  

                                   [root@oracle ~]# su – oracle

[oracle@oracle ~]$./startDB .sh

Autoconfig in appsTier

cd /home/applmgr/PROD/inst/apps/PROD_oracle/admin/scripts

[applmgr@oracle scripts]$ ./adautocfg.sh

[applmgr@oracle scripts]$ perl $AD_TOP/bin/admkappsutil.pl

Autoconfig in dbTier

Copy/home/applmgr/PROD/inst/apps/PROD_oracle/admin/out/appsutil.zipto /home/oracle/PROD/db/tech_st/11.1.0

Then unzip by oracle user,then run autoconfig

/home/oracle/PROD/db/tech_st/11.1.0/appsutil/scripts/PROD_oracle

./adautocfg.sh

Preclone

Preclone in dbTier

$cd /home/oracle/PROD/db/tech_st/11.1.0/appsutil/scripts/PROD_oracle

$perl adpreclone.pl dbTier

Preclone in appsTier

$cd /home/applmgr/PROD/inst/apps/PROD_oracle/admin/scripts

$perl adpreclone.pl appsTier

Start APP

$su – applmgr

$ ./startAPP.sh

If got warning:Deploying a New Forms .ear。

Then refer to document: Deploying a New Forms .ear File in Oracle Applications Release 12[ID 397174.1] to fix.

 

8 Issues & Solutions

RW-50004: Error code received when running external process.

 

Error Message:” RW-50010: Error: - script has returned an error:   1

RW-50004: Error code received when running external process.  Check log file for details.

Running Database Install Driver for mc2yd213 instance”

When installation progress go to 33%, then raise RW-50004 Error, Generally it is due to OS user/group you used may not have correct priority to installation folder.

You can check details from logs.

RW-50015: Error: - HTTP Listener is not responding.

Error Message:” RW-50015: Error: - HTTP Listener is not responding. The service might not have started on the port yet. Please check the service and use the retry button.”

It means you did not apply patch 6078836.

Download and apply the patch 6078836 from My Oracle Support to fix an issue with the Oracle HTTP Server (missing libdb.so.2) bundled with the E-Business Suite technology stack.

Enter the location for the disk labeled: Oracle Applications Rapid Install – RDBMS Disk 1

While installation, it pop us a window which ask to select install disk.

 

Error Message:

“Select the root directory of the required Rapid Install Disk

Enter the location for the disk labled:

Oracle Applications Rapid Install - RDBMS Disk 1”

This is very big mistake, log will tell you reason

Disk platform missmatch.

required platform: LINUX_X86-64

Disks for platform: Linux

While adpatch EBS 12.1.3, encounter ORA-03113: end-of-file on communication channel

From adpatch,”

STATUS_MESSAGE 

------------------------------------------------------------------------------ 

Running UTL_RECOMP.RECOMP_PARALLEL... 

  declare 

ERROR at line 1: 

ORA-03113: end-of-file on communication channel 

  ERROR: 

ORA-03114: not connected to ORACLE  “

Solution: Edit the init parameter file in the database(Using 11gR1 follow doc.761570.1) ,

/d01/oracle/VIS/db/tech_st/11.1.0/dbs/initVIS.ora

Add

_disable_logging=false 

Reference

Metalink Notes

Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]

 

Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]

 

MD5 Checksums for R12.1.1 Rapid Install Media (Doc ID 802195.1)

 

How to locate the log files and troubleshoot Rapid Install for Release 12.0.x and 12.1.x (Doc ID 452120.1)

Articles

Oracle Applications Installation Guide: Using Rapid Install R12(12.1.1)

http://docs.oracle.com/cd/E18727_01/doc.121/e12842.pdf

 

Oracle Applications (12.1.1) Installation on RHEL 5

http://heliosguneserol.wordpress.com/2010/06/11/oracle-applications-12-1-1-installation-on-rhel-5/

 

Oracle Applications(Apps) R12 (12.1.1) Installation on Linux

http://www.freeoraclehelp.com/2011/11/oracle-applicationsapps-r12-1211.html

 

Appsdba.info R12 Install

http://www.appsdba.info/docs/oracle_apps/Installation/R12/snir12-ln.pdf

 

E-Business Suite 12.1.1 Standard Installation on Linux OEL 5.3

http://gerardnico.com/wiki/ebs/installation

 

You can download full doc via http://www.slideshare.net/tianpan/oracle-ebs-r1213installationlinux64bitpantian 

 

posted @ 2016-12-07 18:25  Ayumie  阅读(4884)  评论(0编辑  收藏  举报